package cc.zy.base.hr.service.impl;

import cc.zy.base.common.entity.FebsConstant;
import cc.zy.base.common.entity.QueryRequest;
import cc.zy.base.common.utils.SortUtil;
import cc.zy.base.hr.entity.Course;
import cc.zy.base.hr.entity.ExecuteAdjustLog;
import cc.zy.base.hr.entity.ExecuteSchedule;
import cc.zy.base.hr.mapper.ExecuteAdjustLogMapper;
import cc.zy.base.hr.mapper.ExecuteScheduleMapper;
import cc.zy.base.hr.service.IExecuteAdjustLogService;
import cc.zy.base.hr.service.IExecuteScheduleService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

/**
 * 月计划执行
 * Service
 * @author yan
 * @date 2021-01-18 10:51:13
 */
@Service
@RequiredArgsConstructor
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public class ExecuteAdjustLogServiceImpl extends ServiceImpl<ExecuteAdjustLogMapper, ExecuteAdjustLog> implements IExecuteAdjustLogService {

    @Override
    public void saveExecuteAdjustLog(ExecuteAdjustLog executeAdjustLog) {
        baseMapper.insert(executeAdjustLog);
    }
}